Skip to content

Conversation

@macpie
Copy link
Member

@macpie macpie commented Oct 3, 2025

Goal here is to make the gateways table (in mobile config) to keep historical data.

TODO:

  • Remove ON CONFLICT calls
  • update of DB queries to do distinct with order by
  • Update test
  • New API to get based on inserted_at

@connormck333 connormck333 self-assigned this Oct 22, 2025
@connormck333
Copy link
Contributor

Mobile config client working:
image

@macpie macpie marked this pull request as ready for review October 27, 2025 17:24
@bbalser bbalser merged commit a49979d into main Nov 14, 2025
91 of 93 checks passed
@bbalser bbalser deleted the macpie/historical branch November 14, 2025 18:37
connormck333 added a commit that referenced this pull request Nov 19, 2025
* Create migration test

* Update tracker

* Fix gateway DB calls

* Fix Clippy

* PR comments

* Add some print to debug

* Fix timestamp check

* Added new API for retrieving historical gateway info

* Add v1 to historical gateway info protobuf

* Refactored gateway service reducing code dupe

* Changed proto branch

* Fixed formatting errors

* Gateway historical info test assertions updated

* Fixed formatting errors

* Fixed formatting errors

* Increased sleep in historical info test

* Tests cleanup, removed println, changed assert! to assert_eq

* Removed sleep from test

* Updated gateway tracker test name & reduced test size

* Removed println in tests

* Add info_historical command to mobile_config_cli

* Changed historical info to info_at_timestamp

* Update mobile verifiers to use new info_at_timestamp API

* Revert "Update mobile verifiers to use new info_at_timestamp API"

This reverts commit e83d7b8.

* Updated metric name

* Reverted proto branch to master

* Update Cargo.lock

* Revert "Update Cargo.lock"

This reverts commit 8263ea8.

* Update helium-proto Cargo.lock

* Attempt to cleanup runner

* another attempt

* attempt free disk space action

* Remove cleanup jobs

---------

Co-authored-by: Connor McKenzie <connora.mckenzie@gmail.com>
Co-authored-by: Brian Balser <bbalser@nova-labs.com>
connormck333 added a commit that referenced this pull request Nov 19, 2025
* Create migration test

* Update tracker

* Fix gateway DB calls

* Fix Clippy

* PR comments

* Add some print to debug

* Fix timestamp check

* Added new API for retrieving historical gateway info

* Add v1 to historical gateway info protobuf

* Refactored gateway service reducing code dupe

* Changed proto branch

* Fixed formatting errors

* Gateway historical info test assertions updated

* Fixed formatting errors

* Fixed formatting errors

* Increased sleep in historical info test

* Tests cleanup, removed println, changed assert! to assert_eq

* Removed sleep from test

* Updated gateway tracker test name & reduced test size

* Removed println in tests

* Add info_historical command to mobile_config_cli

* Changed historical info to info_at_timestamp

* Update mobile verifiers to use new info_at_timestamp API

* Revert "Update mobile verifiers to use new info_at_timestamp API"

This reverts commit e83d7b8.

* Updated metric name

* Reverted proto branch to master

* Update Cargo.lock

* Revert "Update Cargo.lock"

This reverts commit 8263ea8.

* Update helium-proto Cargo.lock

* Attempt to cleanup runner

* another attempt

* attempt free disk space action

* Remove cleanup jobs

---------

Co-authored-by: Connor McKenzie <connora.mckenzie@gmail.com>
Co-authored-by: Brian Balser <bbalser@nova-labs.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants